﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PhilipSupport.Controls
{
    public partial class MinButton : BaseButton
    {
        public Color BtnColor { get; set; }

        public MinButton()
        {
            InitializeComponent();
        }

        protected override void OnPaint(PaintEventArgs e)
        {
            var pen = new Pen(BtnColor, 2);
            e.Graphics.DrawLine(pen, 1, this.Height - 3, this.Width-2, this.Height - 3);
            base.OnPaint(e);
        }
    }
}
